//
// Created by ta&to on 2022/8/29.
//

#ifndef HTTPSERVER_HTTP_ALLOC_H
#define HTTPSERVER_HTTP_ALLOC_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>

#define ISNULL(node) (!node || node == NULL)
#define ISNOTNULL(node) (!ISNULL(node))

void * http_malloc(size_t size);
void * http_calloc(size_t size);
int mallen(char* p);
int http_malloc_align(int size);
void * http_realloc(char* p, size_t size);
void http_free(void *f);
#endif //HTTPSERVER_HTTP_ALLOC_H

